﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="CustomerManagement_MoneyManagementEdit" Codebehind="MoneyManagementEdit.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link type="text/css" href="../App_Themes/main/base.css" rel="stylesheet" />
        <script type="text/javascript" src="../Include/Js/OpenWindow.js"></script>
    <script src="../Include/JS/calendar.js"></script>
        
        <script type="text/javascript">
       function setVIPValue(p)
       {
            var gk=p.split("|");
            document.getElementById("TextBox2").innerText=gk[0];
       } 
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <div align="Justify">
    <h2>新增充值券</h2>
    <div class="menu_bg">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="input_button" OnClick="btnSave_Click" />
    <asp:Button ID="btnCheck" runat="server" Text="审批" CssClass="input_button" OnClick="btnCheck_Click" />
    <asp:Button ID="btnDelete" runat="server" Text="删除" CssClass="input_button" OnClick="btnDelete_Click" />
    <input type="button" value="取消" class="input_button" onclick="window.history.go(-1)" /></div>

    用户帐号：<asp:TextBox ID="TextBox2" runat="server" Width="100px" ></asp:TextBox>*<asp:RequiredFieldValidator
        ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox2" ErrorMessage="不能为空"></asp:RequiredFieldValidator><br/>
        <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true">
            <ContentTemplate>
    银&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;行：<asp:DropDownList ID="drpBank" runat="server" DataTextField="PT_NAME" DataValueField="PT_CODE" AutoPostBack="True" OnSelectedIndexChanged="drpBank_SelectedIndexChanged"></asp:DropDownList><br /><br />
    银行帐号：<asp:Label ID="lblAccount" runat="server"></asp:Label> <br />     <br />   
            </ContentTemplate>
        </asp:UpdatePanel>
 <br />   
    交易号：&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtDealNo" runat="server"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="必须是数字"
                ValidationExpression="[0-9]*" ControlToValidate="txtDealNo"></asp:RegularExpressionValidator>
            <asp:HiddenField ID="hdHaveDeal" runat="server" /><br />
    转账金额：<asp:TextBox ID="txtJE" runat="server"></asp:TextBox>*<asp:RequiredFieldValidator
        ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtJE" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtJE"
            ErrorMessage="必须是浮点数" ValidationExpression="(-?\d+)(\.\d+)?"></asp:RegularExpressionValidator><br />
    转账时间：<asp:TextBox ID="txtAddTime" runat="server" OnClick="setday(this)"></asp:TextBox>*<asp:RequiredFieldValidator
        ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtAddTime" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtAddTime"
                ErrorMessage="必须是正确的时间格式" ValidationExpression="((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-)) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d"></asp:RegularExpressionValidator><br />
    用途：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:DropDownList ID="drpType" runat="server">
    <asp:ListItem Text="充值" Value="000"></asp:ListItem>
    <asp:ListItem Text="保证金" Value="001"></asp:ListItem>
    </asp:DropDownList><br />
    备注：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtNote" runat="server"></asp:TextBox>
    </div>
    </div>
    </form>
</body>
</html>
